package com.tarena.lbs.user.GlobalExceptionHandle;


import com.tarena.lbs.common.enums.PassportResultEnum;
import lombok.Getter;

//自定义的业务层异常类
public class ServiceException extends  RuntimeException{
    @Getter
    private PassportResultEnum passportResultEnum;

    public ServiceException(PassportResultEnum passportResultEnum){
        this.passportResultEnum=passportResultEnum;


    }
}
